<template>
  <div class="title  wow fadeInUp">
    <span v-html="name"></span>
    <slot />
  </div>
</template>

<script>
export default {
  props:['name'],
}
</script>

<style lang="less" scoped>
.title{
  text-align: center;
  color: #333;
  font-weight: bold;
  span{
    display: inline-block;
    position: relative;
    border-bottom: 2px solid #DDDDDD;
    &::after{
      content: '';
      position: absolute;
      bottom: -2px;
      left: 50%;
      margin-left: -20px;
      width: 40px;
      height: 2px;
      background: #13BEF0;
    }
  }
}
 
</style>
